package com.ruoyi.school.enums;

import lombok.Getter;

/**
 * 是否 枚举
 */
@Getter
public enum YesOrNotEnum {
    YES(1, "是"),
    NO(2, "否");


    private Integer code;
    private String desc;

    YesOrNotEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
